import Image from "next/image";
import Link from "next/link";

export default function TopBanner() {
  return (
    <div className="w-full">
      <Link href="/top" legacyBehavior>
        <a>
          <div className="relative w-full" style={{ aspectRatio: "1920/470" }}>

            <Image
              // src="https://hebbkx1anhila5yf.public.blob.vercel-storage.com/%E6%A8%AA%E5%B1%8F%E5%A4%A7%E5%9B%BE.jpg-y0ULVJ1a96cQbpN8kzWO3GPgKLpSrG.jpeg"
              src="https://cdnoss.kaoshixing.com/ksx_prod/618654/background/618654/20250611/1749612441244.jpg"
              alt="人力资源和社会保障部社会保障能力建设中心关于开展网络主播合规管控职业培训的通知"
              fill
              priority
              className="object-cover w-full"
              sizes="(max-width: 768px) 100vw, 50vw"
            />
          </div>
        </a>
      </Link>
    </div>
  );
}